#ifndef __CAN_MESSAGE_HANDLERS
#define __CAN_MESSAGE_HANDLERS

#include "main.h"
#include "service.h"

// 声明处理函数接口
void handle_init_frame(FDCAN_MessageTypeDef* message);
void handle_target_position_frame(FDCAN_MessageTypeDef* message);
void handle_target_torque_frame(FDCAN_MessageTypeDef* message);
void handle_status_frame(FDCAN_MessageTypeDef* message);
void handle_position_frame(FDCAN_MessageTypeDef* message);
void handle_electric_angle_frame(FDCAN_MessageTypeDef* message);
void handle_vd_frame(FDCAN_MessageTypeDef* message);
void handle_iq_frame(FDCAN_MessageTypeDef* message);
void handle_query_frame(FDCAN_MessageTypeDef* message);

#endif // !__CAN_MESSAGE_HANDLERS